<?php

 
namespace com;
include "com/funcs/add.php";
 
$obj=new class {
    use funcs\abc\comProperty;
};
echo $obj->age;